<!--{subtemplate common_header}-->

<div class="header">
<div class="headerNav">
	<ul class="hleft">
	<li class="logo"><a href="index.php?mod=topic" title="{$this->Config[site_name]}"><img src="images/logo.png" style="_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop)"/></a></li>

	<!--{if $this->Channel_enable && $this->Config['channel_enable']}-->
	<script type="text/javascript">
	$(document).ready(function(){
	  	$(".t_channel").mouseover(function(){$(".t_channel_box").show();$(".t_channel").addClass("on");});
		$(".t_channel").mouseout(function(){$(".t_channel_box").hide();$(".t_channel").removeClass("on");});
	});
	</script>
    
	<li class="t_channel">
    <a title="频道" href="index.php?mod=channel">频道</a>
		<!--{if $this->Channels}-->
		<ul class="t_c_box t_channel_box" style="display:none"><div class="allchannelBox">
		<!--{loop $this->Channels $val}-->
		<dl><dt><a href="index.php?mod=channel&id={$val['ch_id']}">{$val['ch_name']}</a></dt>
		  <!--{if $val['child']}-->
		  <dd>
		  <!--{loop $val['child'] $v}-->
		  <a href="index.php?mod=channel&id={$v['ch_id']}">{$v['ch_name']}</a>
		  <!--{/loop}-->
		  </dd>
		  <!--{/if}-->
		</dl>
		<!--{/loop}-->
		</div></ul>
		<!--{/if}-->
	</li>
	<!--{/if}-->

	{eval $navigation_config=ConfigHandler::get('navigation');global $rewriteHandler;}
	<!--{loop $navigation_config[list] $_v}-->
	<!--{if $_v['avaliable'] == 1}-->
		<script type="text/javascript">
		$(document).ready(function(){
			$(".t_c{$_v[code]}").mouseover(function(){$(".t_c{$_v[code]}_box").show();$(".t_c{$_v[code]}").addClass("on");});
			$(".t_c{$_v[code]}").mouseout(function(){$(".t_c{$_v[code]}_box").hide();$(".t_c{$_v[code]}").removeClass("on");});
		});
		</script>
	
	<!--{eval if($rewriteHandler)$_v[url]=$rewriteHandler->formatURL($_v[url]);}-->
	<li class="t_c{$_v[code]}"><a href="{$_v[url]}" target="{$_v[target]}" title="{$_v[name]}">{$_v[name]}</a>
	<!--{if !empty($_v[type_list])  && $_v['avaliable'] == 1}-->
		<ul class="t_c_box t_c{$_v[code]}_box" style="display:none;">
		 <!--{loop $_v[type_list]  $val}-->
		 <!--{if $val[name]  && $val['avaliable'] == 1}-->
		 <!--{eval if($rewriteHandler)$val[url]=$rewriteHandler->formatURL($val[url]);}-->
		 <li><a href="{$val[url]}" target="{$val[target]}">{$val[name]}</a></li>
		 <!--{/if}-->	
		 <!--{/loop}-->
		 <!--{if !empty($navigation_config[pluginmenu]) && $_v[code] == 'app'}-->
		 <!--{loop $navigation_config[pluginmenu] $pmenus}-->
		 <!--{loop $pmenus $pmenu}-->
		 <!--{if $pmenu[type] == 1}-->
		 <!--{eval if($rewriteHandler)$pmenu[url]=$rewriteHandler->formatURL($pmenu[url]);}-->
		 <li><a href="{$pmenu[url]}" target="{$pmenu[target]}">{$pmenu[name]}</a></li>
		 <!--{/if}-->	
		 <!--{/loop}-->
		 <!--{/loop}-->
		 <!--{/if}-->
		 </ul>
	 <!--{/if}-->
	</li>
	<!--{/if}-->
	<!--{/loop}-->
    
	<li class="sweibo">
		<div class="searchTool">
		  <form method="get" action="#" name="headSearchForm" id="headSearchForm" onsubmit="return headDoSearch();">
			<input id="headSearchType" name="searchType" type="hidden" value="topicSearch">
			<div class="selSearch">
			  <div class="nowSearch" id="headSlected" onclick="if(document.getElementById('headSel').style.display=='none'){document.getElementById('headSel').style.display='block';}else {document.getElementById('headSel').style.display='none';};return false;" onmouseout="drop_mouseout('head');">{$this->Config['changeword']['n_weibo']}</div>
			  <div class="btnSel"><a href="#" onclick="if(document.getElementById('headSel').style.display=='none'){document.getElementById('headSel').style.display='block';}else {document.getElementById('headSel').style.display='none';};return false;" onmouseout="drop_mouseout('head');"></a></div>
			  <div class="clear"></div>
			  <ul class="selOption" id="headSel" style="display:none;">
				<li><a href="#" onclick="return search_show('head','userSearch',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">用户</a></li>
				<li><a href="#" onclick="return search_show('head','tagSearch',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">话题</a></li>
				<li><a href="#" onclick="return search_show('head','topicSearch',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">{$this->Config['changeword']['n_weibo']}</a></li>
				<!--{if $this->Config['vote_open']}-->
				<li><a href="#" onclick="return search_show('head','voteSearch',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">投票</a></li>
				<!--{/if}-->
				<!--{if $this->Config['qun_setting']['qun_open']}-->
				<li><a href="#" onclick="return search_show('head','qunSearch',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">{$this->Config['changeword']['weiqun']}</a></li>
				<!--{/if}-->
			  </ul>
			</div>
			<input class="txtSearch" id="headq" name="headSearchValue" type="text" value="请输入关键字" onfocus="if(this.value=='请输入关键字'){this.value='';}" onblur="if(this.value==''){this.value='请输入关键字';}"/>
			<div class="btnSearch"> <a href="#" onclick="javascript:return headDoSearch();"><span class="lbl"></span></a></div>
		  </form>
		</div>
		</li>		
	</ul>
    
	<!--{if $this->Get[mod] == 'channel'}-->
	<!--{eval $post_item = 'channel';$post_item_id = (int)$_GET['id'];}-->
	<!--{/if}-->
	<ul class="hright">
	<!--{if MEMBER_ID > 0}-->
	  <script type="text/javascript">
		$(document).ready(function(){
			$(".t_member").mouseover(function(){$(".t_member_box").show();$(".t_member").addClass("on");});
			$(".t_member").mouseout(function(){$(".t_member_box").hide();$(".t_member").removeClass("on");});
			$(".t_news").mouseover(function(){$(".t_news_box").show();$(".t_news").addClass("onn");});
			$(".t_news").mouseout(function(){$(".t_news_box").hide();$(".t_news").removeClass("onn");});
		});
	  </script>
	  <!--{eval if($member['uid'] == MEMBER_ID) $_mymember = $member}-->
      
      <!--{eval if($member['uid'] != MEMBER_ID) $_mymember = jsg_member_info(MEMBER_ID)}-->

	  <li class="t_member"><a href="index.php?mod={MEMBER_NAME}" title="我是{MEMBER_NICKNAME}，点此访问个人主页"><img src="{$_mymember[face_original]}" class="member" onerror="javascript:faceError(this);"/></a>
	  <ul class="t_member_box">
	  <li>
	  <a href="index.php?mod=settings">[资料设置]</a>
      <a href="index.php?mod=settings&code=face">修改头像</a>
	  <a href="index.php?mod=settings&code=secret">修改密码</a>
	  <a href="index.php?mod=skin">更换皮肤</a>
	  <a href="index.php?mod=profile&code=invite">邀请关注</a>
	  <a href="index.php?mod=other&code=medal&view=my">我的勋章</a>
	  <a href="index.php?mod=other&code=vip_intro">申请V认证</a>
	<!--{if $this->Config['sendmailday'] > 0}-->
	<A HREF="index.php?mod=settings&code=sendmail">邮件提醒</A>
	<!--{/if}-->	  
	  <span id="web_list_type_{MEMBER_ID}">
	  <input type="hidden" id="web_style" name="web_style" value="{MEMBER_STYLE_THREE_TOL}"/>
	  <!--{eval if (MEMBER_STYLE_THREE_TOL == 1) $ajax_list = 'right'; else $ajax_list = 'left';}-->
	  <a href="javascript:void(0);" title="推荐开启左侧导航，更清晰" onclick="web_list_type({MEMBER_ID},'web_style','{$params[code]}','{$ajax_list}','{$member[uid]}'); return false;">
	  <!--{if MEMBER_STYLE_THREE_TOL == 1}-->关左侧导航<!--{else}-->开左侧导航<!--{/if}--></a> 
	  <input type="hidden" name='hid_type' id='hid_type' value='{$type}'>
	  </span>
      </li>
      <li>
      <a href="index.php?mod={MEMBER_NAME}">[个人主页]</a>
	  <a href="index.php?mod={MEMBER_NAME}&type=mydigout">我{$this->Config[changeword][dig]}的</a>
	  <a href="index.php?mod=vote&view=me">我的投票</a>
	  <a href="index.php?mod=event&code=myevent">我的活动</a>
	  <a href="index.php?mod=attach&code=myattach">我的附件</a>
	  <a href="index.php?mod=topic&code=tag">关注的话题<!--{if $__my[topic_new]>0}--><span>+{$__my['topic_new']}</span><!--{/if}--></a>
	  <!--{if $this->Config[dzbbs_enable] || ($this->Config[phpwind_enable] && $this->Config[pwbbs_enable])}-->
	  <a href="index.php?mod=topic&code=bbs">我的论坛</a>
	  <!--{/if}-->
	  <!--{if ($this->Config['dedecms_enable'] == 1)}-->
	  <a href="index.php?mod=topic&code=cms">我的资讯</a>
	  <!--{/if}-->
      <a href="index.php?mod={$member[username]}&type=my_verify">等待审核</a>
	  </li>

      <li>
	  <a href="index.php?mod=topic&code=recd">[官方推荐]</a>
	  <a href="index.php?mod=topic&code=topicnew">最新被{$this->Config[changeword][dig]}</a>
	  <a href="index.php?mod=topic&code=topicnew&orderby=post">最新发布</a>
      <!--{if ($this->Config['vest_enable'])}-->
		  <!--{if (!$this->Config['vest_role'] || (jsg_find($this->Config['vest_role'], $member['role_id'])))}-->
		  <a href="index.php?mod=settings&code=vest" target=_blank>添加新马甲</a>
		  <!--{/if}-->
		  <!--{eval $vest = load::logic('member',1)->getVestMember(MEMBER_ID);}-->
		  <!--{if $vest}-->
			  <a href="javascript:void(0);" title="可使用下面账号登录">已有马甲：</a>
			  <!--{loop $vest $k $v}-->
			  <!--{if $k != MEMBER_ID}-->
			  <a href="javascript:void(0);" onclick="changeUser({$v['uid']})" title="点击使用此账号登录">$v['nickname']</a>
			  <!--{/if}-->
			  <!--{/loop}-->
		  <!--{/if}-->
	  <!--{/if}-->
      </li>

      <li style="border:none;">
      <p class="spr_weibo"><a href="index.php?mod=topic" title="{$this->Config[site_name]}">我的首页</a></p>
      <p class="spr_info"><a href="index.php?mod=topic&code=channel">我的频道</a></p>
	  <p class="spr_fav"><a href="index.php?mod=topic&code=myfavorite">我的收藏</a></p>
      <!--{if $this->Config['qun_setting']['qun_open']}-->
      <p class="spr_qun">
      <a href="index.php?mod=topic&code=qun">
      我的{$this->Config['changeword']['weiqun']}</a>
      </p>
      <!--{/if}-->
      <!--{if 'admin'==MEMBER_ROLE_TYPE}-->
      <p class="spr_manger"><a href="admin.php" target=_blank>后台管理</a></p>
      <!--{/if}-->
      <p class="spr_logout"><a href="{conf site_url}/index.php?mod=login&code=logout" rel="nofollow">退出登陆</a> </p>
      </li>
	  </ul>
      </li>
      

	  <li class="t_news"><i></i>
	  <!--{if $__my[comment_new]>0 || $__my[at_new]>0 || $__my[fans_new]>0 || $__my[favoritemy_new]>0 || $__my[dig_new]>0 || $__my[newpm]>0}--><em></em><!--{/if}-->
		<ul class="t_news_box">
		  <li><a href="index.php?mod=topic&code=mycomment">评论我的<!--{if $__my[comment_new]>0}--><span>+$__my[comment_new]</span><!--{/if}--></a></li>
		  <li><a href="index.php?mod=topic&code=myat">@我的<!--{if $__my[at_new]>0}--><span>+$__my[at_new]</span><!--{/if}--></a></li>
		  <li><a href="index.php?mod={$__my[username]}&code=fans">关注我的<!--{if $__my[fans_new]>0}--><span>+$__my[fans_new]</span><!--{/if}--></a></li>
		  <li><a href="index.php?mod=topic&code=favoritemy">收藏我的<!--{if $__my[favoritemy_new]>0}--><span>+$__my[favoritemy_new]</span><!--{/if}--></a></li>
		  <li><a href="index.php?mod={$__my[username]}&type=mydig">{$this->Config[changeword][dig]}我的<!--{if $__my[dig_new]>0}--><span>+$__my[dig_new]</span><!--{/if}--></a></li>
		  <li class="lineNav"></li>
		  <li><a href="index.php?mod=pm&code=list">私信<!--{if $__my[newpm]>0}--><span>+$__my[newpm]</span><!--{/if}--></a></li>
		</ul>
	  </li>

	  <li class="pweibo" style="cursor:pointer;" onclick="showMainPublishBox('{$post_item}','{$post_item}','{$post_item_id}');" title="发微博">
	  <input type="hidden" name="check_PublishBox_uid" id="check_PublishBox_uid"  value="{MEMBER_ID}"/>
	  <input type="hidden" id="verify" name="verify" value="$this->Config[verify]">
	  </li>
      
    <!--{else}-->
	<li style="margin:0; width:55px;"><a href="javascript:viod(0)" rel="nofollow" title="登录即可分享新鲜事" onclick="ShowLoginDialog(); return false;"><em style="color:#FFF">快捷登录</em></a></li>
	<!--{/if}--> 
</ul>
</div>
</div>


<div class="topTips">
<!--{if MEMBER_ID>0}-->
	<!--{if ($__my[comment_new]>0 || $__my[fans_new]>0 || $__my[at_new]>0 || $__my[newpm]>0 || $__my[favoritemy_new]>0 || $__my['vote_new']>0 || $__my['qun_new']>0 || $__my['event_new']>0 || $__my['topic_new']>0 || $__my['event_post_new']>0 || $__my['fenlei_post_new']>0 || $__my['dig_new']>0 || $__my['channel_new']>0) && TOPNOTICE != 'none'}-->
	<!--{eval $__tagBoxStyle='display:block;visibility:visible;';}-->
	<!--{else}-->
	<!--{eval $__tagBoxStyle='display:none;visibility:hidden;';}-->
	<!--{/if}-->
	<!--#if NEDU#-->
	<!--{if defined('NEDU_MOYO')}-->
		<!--{if nlogic('notify')->ups_haved()}-->
			<!--{eval $__tagBoxStyle='display:block;visibility:visible;';}-->
		<!--{/if}-->
	<!--{/if}-->
	<!--#endif#-->
	<script type="text/javascript">
		function tagBox_close()
		{
			$.post("ajax.php?mod=view&code=top_notice",{display:0},function(){});
			var obj = document.getElementById("tagBox_{MEMBER_ID}");
			obj.style.visibility = "hidden";
		}
	</script>
	<div class="tagBox" id="tagBox_{MEMBER_ID}" style="{$__tagBoxStyle}">
    <span class="arrow-up"></span>
    <span class="arrow-up-in"></span>
		<div id="tagBoxContent_{MEMBER_ID}">
		<ul>
		  <!--{if $__my[newpm]>0}-->
		  <li>{$__my[newpm]}条新私信，<a href="index.php?mod=pm&code=list">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[comment_new]>0}-->
		  <li>{$__my[comment_new]}条新评论，<a href="index.php?mod=topic&code=mycomment">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[fans_new]>0}-->
		  <li>{$__my[fans_new]}人关注了我，<a href="index.php?mod={$__my[username]}&code=fans">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[at_new]>0}-->
		  <li>{$__my[at_new]}人@提到我，<a href="index.php?mod=topic&code=myat">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[favoritemy_new]>0}-->
		  <li>{$__my[favoritemy_new]}人新收藏，<a href="index.php?mod=topic&code=favoritemy">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[dig_new]>0}-->
		  <li>有{$__my[dig_new]}人{$this->Config[changeword][dig]}了你，<a href="index.php?mod={$__my[uid]}&type=mydig">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my['channel_new']>0}-->
		  <li>频道新增{$__my[channel_new]}条内容，<a href="index.php?mod=topic&code=channel&orderby=post">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my['vote_new']>0}-->
		  <!--<li>投票新增{$__my[vote_new]}人参与，<a href="index.php?mod={$__my[uid]}&type=vote&filter=new_update">查看</a></li>-->
          <li>投票新增{$__my[vote_new]}人参与，<a href="index.php?mod=vote&view=me&filter=new_update&uid={$__my[uid]}">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my['qun_new']>0}-->
		  <li>$this->Config['changeword']["weiqun"] 新增{$__my[qun_new]}条内容，<a href="index.php?mod=topic&code=qun">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[event_new]>0}-->
		  <li>活动新增{$__my[event_new]}人报名，<a href="index.php?mod={$__my[uid]}&type=event&filter=new_update">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[topic_new]>0}-->
		  <li>话题新增{$__my[topic_new]}条{$this->Config['changeword']['n_weibo']}，<a href="index.php?mod=topic&code=tag">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[event_post_new]>0}-->
		  <li>新增{$__my[event_post_new]}个关注的活动，<a href="index.php?mod=topic&code=other&view=event">查看</a></li>
		  <!--{/if}-->
		  <!--{if $__my[fenlei_post_new]>0}-->
		  <li>分类新增{$__my[fenlei_post_new]}个信息，<a href="index.php?mod=topic&code=other&view=fenlei">查看</a></li>
		  <!--{/if}-->
		  <!--#if NEDU#-->
		  <!--{if defined('NEDU_MOYO')}-->
			 <!--{echo nlogic('notify')->ups_tips_html();}-->
		  <!--{/if}-->
		  <!--#endif#-->
		</ul>
		</div>
		<div class="tagBox_del"><a href="javascript:tagBox_close();" title="关闭" javascript:void(0)><img src="images/imgdel.gif" /></a></div>
	</div>
	<!--{/if}-->
</div>

<div class="changeTheme"><a href="index.php?mod=skin" title="更换皮肤" javascript:void(0)></a></div>

<!--{if $this->Config[company_enable]}-->
<!--{eval $d_c_name = $this->Config[default_company] ? $this->Config[default_company] : '单位'; $d_d_name = $this->Config[default_department] ? $this->Config[default_department] : '部门'; }-->
<!--{/if}-->



<!--{if MEMBER_STYLE_THREE_TOL == 1 && MEMBER_ID > 0}-->
<!--{template "topic_left_nav.inc"}-->
<!--{/if}-->
